package com.ad2campaign.engine.core.handlers;

import com.ad2campaign.engine.web.jetty.EngineHttpServer;

public class JVMShutdownHandler implements Runnable
{

	private EngineHttpServer server;
	
 
	public JVMShutdownHandler(EngineHttpServer server) {
		super();
		this.server = server;
	}


	@Override
	public void run() 
	{
		try 
		{
			server.stop();
		} catch (Exception e) 
		{
		
		}
		
	}

}
